//package com.bitcoin.scheduler.service;
//
//import com.google.common.collect.Lists;
//import org.apache.commons.lang3.time.DateUtils;
//import org.apache.hadoop.hbase.client.Result;
//import org.apache.hadoop.hbase.client.Scan;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//import java.util.Date;
//import java.util.List;
//import java.util.Map;
//
//@Service
//public class BccPriceMarketService {
//
//    @Autowired
//    private HbaseService hbaseService;
//
//    public List getAll() {
////        // read each row from 'MyTable'
//        Map map = hbaseService.getResultScannerQualifierFilter("price_market_info_crawl", String.valueOf(DateUtils.addHours(new Date(),-6).getTime()));
////
////        List<Map> rows = hbaseTemplate.find("price_market_info_crawl",scan, new RowMapper<Map>() {
////            @Override
////            public Map mapRow(Result result, int rowNum) throws Exception {
////                return result.getNoVersionMap();
////            }
////        });
//        hbaseService.getAllTableNames();
//        return Lists.newArrayList();
//    }
//}
